/**********************************************
 * 
 * File Name				:	UserManagementDAO.java
 * 
 * Last Changed Date		: 	$Date: 2009-08-01 11:12:53 +0800 (星期六, 01 八月 2009) $
 * 
 * Last Changed Revision	:	$Revision: 86 $
 * 
 * Last Changed Author		:	$Author: cfanboy $
 * 
 * File Header URL			:	$HeadURL: svn://www.svnhost.cn/Busi-Building/code/branch/src/com/busibuilding/administrate/security/dao/UserManagementDAO.java $
 * 
 * ********************************************
 */

package com.busibuilding.administrate.security.dao;

import java.util.List;

import com.busibuilding.administrate.security.ISecurityCommand;
import com.busibuilding.administrate.security.vo.UserCVO;
import com.busibuilding.common.config.sqlmap.entities.MenuVO;
import com.busibuilding.common.exceptions.DAOException;
import com.busibuilding.common.vo.ICommonVO;

/**
 * Class Name: UserManagementDAO.java
 * Description: 
 * @author YU Zhipeng
 * @version 1.0
 * @since 1.0
 * Date: 2009-7-20
 */

public interface UserManagementDAO extends ISecurityCommand {
	int insert(ICommonVO vo) throws DAOException;
	int update(ICommonVO vo) throws DAOException;
	int delete(ICommonVO vo) throws DAOException;
	List<UserCVO> searchUserByCondition(ICommonVO vo) throws DAOException;
	List<UserCVO> searchUserByCondition(ICommonVO vo, int skipResults, int maxResults) throws DAOException;
	List<MenuVO> getBelongToUserMenus(ICommonVO vo) throws DAOException;
}
